package com.yunyao.framework.service;

import com.yunyao.common.dto.UserDto;
import com.yunyao.common.dto.project.ProjectDto;
import com.yunyao.common.web.util.PageResult;
import com.yunyao.common.web.util.YResult;
import com.yunyao.framework.dto.posyupply.PoSosyupplySaveDto;
import com.yunyao.framework.dto.project.ProjectSaveDto;
import com.yunyao.framework.vo.posupply.PoSyupplyinfoVO;
import com.yunyao.framework.vo.project.ProjectInfoVO;
import com.yunyao.framework.vo.project.ProjectVO;

/**
 * @author xingjishuai
 * @date 2024-07-16
 */
public interface ProjectService {
    /**
     * 根据条件分页查询项目列表
     * @param projectDto
     * @return
     */
    YResult<PageResult<ProjectVO>> pageList(ProjectDto projectDto);

    YResult<ProjectInfoVO> getProjectById(String id);

    YResult<Boolean> deleteInfo(String id);

    YResult<String> saveInfo(ProjectSaveDto saveDto);

    YResult<String> syncMdm(ProjectDto projectDto);

}
